package com.cxhc.app.api.vo;

import com.cxhc.system.domain.app.ExaminationUserQuestion;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@Accessors(chain = true)
public class PostExaminationVo {

    @NotNull(message = "考试场次不能为空")
    private Long examinationId;

    @NotNull(message = "考试题目不能为空")
    private List<ExaminationUserQuestion> questionList;

    @NotNull(message = "考试得分不能为空")
    private Float score;

    @NotNull(message = "考试总分不能为空")
    private Float totalScore;

    @NotNull(message = "考试用时不能为空")
    private Long time;


}
